package com.travel.service;


import com.qianfeng.util.ResultMsg;
import com.travel.entity.TbAir;

public interface AirService {


    ResultMsg findAll();

    ResultMsg findOne(Integer airId);

    ResultMsg findbytime(String time);

    ResultMsg findbyaddr(String saddr);

    ResultMsg findbyaddress(String saddr, String eaddr);

    ResultMsg findbyaddbytime(String saddr, String eaddr, String time);

    ResultMsg seletAll(int current, int size);

    ResultMsg delete(Integer id);

    ResultMsg modify(TbAir tbAir);

    ResultMsg getAirById(int airId);

}
